package com.ybkj.daijia.serverUtils;

import java.util.Random;


public class GasServiceNoUtil {

    public static String getSerivceNo() {
        Random random = new Random();
        try {
            random.setSeed(System.currentTimeMillis());

            StringBuilder builder = new StringBuilder();
            builder.append("JYZ");
            for (int i = 0; i < 4; i++) {
                builder.append(random.nextInt(4));
            }

            return builder.toString();

        } catch (Exception e) {
            e.printStackTrace();
        }

        return "JYZ" + random.nextInt(4);
    }
}
